package com.jacobson.core.base

import android.app.Activity

/**
 * ================================================
 * 沉浸式相关注解 用在[Activity]上，在[Activity.setContentView]前调用[ImmersiveExtensions.immersive(Activity)]
 * @property featureNoTitle 是否无标题栏
 * @property fullScreen 是否全屏模式
 * @property supportWindowTranslucentStatus 是否支持沉浸式
 * @property fitSystemWindows 是否要给根ViewGroup设置fitSystemWindow=true
 * @author Wucz on 2018/7/17 13:49
 * ================================================
 */

@MustBeDocumented
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS)
annotation class Immersive(
        val featureNoTitle: Boolean = true,
        val fullScreen: Boolean = false,
        val supportWindowTranslucentStatus: Boolean = true,
        val fitSystemWindows: Boolean = false,
        val isLightMode: Boolean = false,
        val fitNavigationBar: Boolean = true,
        val supportAndroidBug5497: Boolean = false
)